<?php


class xt_searchOptionHandler {

    function startElement(phpinchains_parser_psp_PSPParser $sender, $attrs, $line, $file = '') {
        //  type="chooser" name="ma_beteiligtAn_id" referencing="Rechtssubjekt"
        $attrs['key']   = (empty($attrs['key']))?"''":$attrs['key'];
        $attrs['value'] = (empty($attrs['value']))?"''":$attrs['value'];
        $code = "array('key'=>{$attrs['key']}, 'value' => {$attrs['value']}),";
        $sender->appendRequestableDataCode($code);
        $sender->appendCode($code);
    }

    function endElement(&$sender) {
    }

}